<template>
  <div class="nav-bar">
    <van-nav-bar
      left-text="返回"
    >
    <template #left>
        <van-icon name="location-o" size="22" />
        <span>成都</span>
      </template>
      <template #title>
       <van-search  placeholder="请输入搜索关键词" />
      </template>
      <template #right>
        <van-icon name="scan" size="25" />
      </template>
    </van-nav-bar>
  </div>
</template>

<script>
export default {
  name: 'NavBar'
}
</script>

<style lang="less" scoped>
</style>
